package com.ananjt.system.user.mapper;

import com.ananjt.system.entity.SpRole;
import com.ananjt.system.entity.SpUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenanhai
 * @since 2020-03-17
 */
public interface SpRoleMapper extends BaseMapper<SpRole> {

    List<SpRole> queryRoleByUserId(SpUserRole spUserRole);
    List<SpRole> queryRoleByMenuUrl(SpUserRole spUserRole);
}
